<template>
  <div class="container">
    <div  class="titleBG">
      <div class="title">{{title}}</div>
    </div>
    <slot class="body" />
    <div class="leftb"></div>
    <div class="rightb"></div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: ''
    }
  },
  data () {
    return {
    }
  }
}
</script>

<style scoped>
.container{
  position: relative;
  margin: 5px;
  background: rgba(6, 7, 107, 0);
  border: 1px solid rgba(55, 85, 218, 0.3);
}
.titleBG{
  background: url('../../../assets/titlebg.png');
  width: 172px;
  height: 35px;
}
.title{
  padding-left: 12px;
  font-size: 14px;
  font-family: Adobe Heiti Std;
  font-weight: bold;
  color: #0096FF;
  line-height: 32px;
  background: linear-gradient(0deg, #0072FF 0%, #00EAFF 47.900390625%, #01AAFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.body{
}
.leftb{
  position: absolute;
  bottom: 0;
  left:0;
width: 23px;
height: 23px;
border-left: 2px solid #00A2FF;
border-bottom: 2px solid #00A2FF;
}
.rightb{
   position: absolute;
  bottom: 0;
  right:0;
width: 23px;
height: 23px;
border-right: 2px solid #00A2FF;
border-bottom: 2px solid #00A2FF;
}
</style>
